import { createApp } from 'vue'
import App from './App.vue'
import { store, key } from './store';
import './permission' 

// 注入路由
import router from './router';

// 注入UI组件库
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import '@/assets/styles/reset.scss' // ruoyi css

const app = createApp(App);
app.use(store, key);
app.use(router);
app.use(ElementPlus);
app.mount('#app');